package com.leyou.api;

import com.leyou.ResponseData;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@RequestMapping("/category")
public interface CategoryApi {

    @GetMapping("/ids")
    ResponseData queryNameByIds(@RequestParam(name = "ids") List<Long> ids);
}
